package cate.common.table.activity.happyflop.row;

import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import easy.java.dev.note.NoteClass;
import easy.java.dev.note.NoteField;

@NoteClass("技能")
public class HappyFlopSkillRow extends ERow {

    @NoteField("技能id")
    public int skillTid;

    @NoteField("等级")
    public int level;

    @NoteField("升级消耗")
    public String costStr;

    @NoteField("系数")
    public int coeff;

    @NoteField("分组")
    public int group;

    @Override
    public void parse(XSSFRowWrap xrw) {
        super.parse(xrw);
        this.id = xrw.getInteger("ID", 0);
        this.skillTid = xrw.getInteger("技能id", 0);
        this.level = xrw.getInteger("等级", 0);
        this.costStr = xrw.getString("升级消耗");
        this.coeff = xrw.getInteger("系数", 0);
        this.group = xrw.getInteger("分组", 0);
    }

}
